package pkmn.type;

public class Normal extends Type{

    public Normal(){
        this.setTypeEnum(TypeEnum.normal);
    }

    @Override
    public double effective(Type type){
        switch (type.getTypeEnum()){
            case rock:
            case steel:
                return 0.5;
            case ghost:
                return 0.0;
            default:
                return 1.0;
             
        }
    }
}